package org.lw.bootstrap.dto.exception;


/**
 * @author liuwu
 *
 */
public class BizException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4815034452751284575L;

	/**
	 * 
	 */
	private final String errorCode;
	
	/**
	 * 
	 */
	private final String msg;
	
	/**
	 * 
	 * @param errorCode
	 * @param msg
	 */
	public BizException(String errorCode, String msg) {
		super();
		this.errorCode = errorCode;
		this.msg = msg;
	}
	
	public String getErrorCode() {
		return errorCode;
	}

	public String getMsg() {
		return msg;
	}
}